<template>
  <div class="split_round">
    <div class="round">
      <img src="../../../images/round.gif" alt="动画" />
      <div class="split">
        <!-- 圆 -->
        <div class="circle"></div>
        <div class="circle_text">
          <p>10</p>
          <span>放电次数</span>
        </div>
      </div>
    </div>
    <div class="dataForm">
      <p>统计信息</p>
      <ul>
        <li>
          <p>最大能级间隔</p>
          <span>2888.9ћw。</span>          
        </li>
        <li>
          <p>最小能级间隔</p>
          <span>90.2ћw。</span>
        </li>
        <li>
          <p>电场最大值</p>
          <span>2035.9kv/cm</span>
        </li>
        <li>
          <p>电场最小值</p>
          <span>100kv/cm</span>
        </li>
      </ul>
    </div>
  </div>
</template>

<script setup name="SplitLine">
import { ref, reactive } from 'vue'
import * as echarts from "echarts"

onMounted(() => {
 
})
</script>

<style lang='scss' scoped>
.split_round{
  display: flex;
  margin-top: 140px;
  margin-left: -12px;
  position: relative;
  .round{
    width: 240px;
    height: 220px;
    position: relative;
    .split{
      position: absolute;
      left: 50px;
      top: 36px;
      .circle_text{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        p{
          font-size: 60px;
          color: #15e0fe;
          font-weight: bold;
        }
        span{
          color: #fff;
        }
      }
    }
    img{
      width: 100%;
      height: 100%;
    }
  }
}

.circle {
  width: 140px;
  height: 140px;
  border-style: solid;
  border-color: #15e0fe transparent;
  border-width: 4px 4px 0 0;
  border-radius: 50%;
  animation: circle 2s infinite linear; 

  //小圆
  &::before{
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 14px;
    left: 114px;
  }
  @-webkit-keyframes circle {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }
}
.dataForm{
  position: absolute;
  left: 250px;
  top: 0;
  width: 45%;
  >p{
    width: 90%;
    color: #fff;
    font-size: 21px;
    border-bottom: 2px solid #143858;
    height: 60px;
    line-height: 60px;
    position: relative;
    &::before{
      content: "";
      width: 150px;
      height: 1px;
      display: block;
      background: #081b29;
      position: absolute;
      top: 60px;
      left: 0px;
    }
  }
  ul{
    width: 90%;
    li{
      display: flex;
      justify-content: space-between;
      color: #fff;
      height: 40px;
      line-height: 40px;
      font-size: 17px;
      font-weight: bold;
      >p{
        width:100px;
        font-size: 14px;
        color: #babbbf;
      }
    }
  }
}
</style>